package com.example.wod.retrofitdemo.Bean;

/**
 * Created by LX on 2016/1/4.
 */
public class Upload {

    /**
     * code : SUCCESS
     * info : 上传成功！
     * data : {"url":"http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-14_566ecbff1ef0a.jpg"}
     */

    private String code;
    private String info;
    /**
     * url : http://7xp4uq.com1.z0.glb.clouddn.com/2015-12-14_566ecbff1ef0a.jpg
     */

    private DataEntity data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private String url;

        public void setUrl(String url) {
            this.url = url;
        }

        public String getUrl() {
            return url;
        }
    }
}
